ostree-repo.c: fix typo
authorGiuseppe Scrivano <gscrivan@redhat.com>
Mon, 16 Mar 2015 10:27:19 +0000 (11:27 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Mon, 16 Mar 2015 10:34:48 +0000 (11:34 +0100)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo.c

index d3e2931b024203bba831dd7efa3c62a78c9a9a1f..35daa3eee12483f1c73b70134677f0d841000313 100644 (file)
@@ -3203,7 +3203,7 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo          *self,
   GVariantIter iter;
   GVariant *child;
   g_autoptr (GBytes) signatures = NULL;
-  gboolean had_valid_signataure = FALSE;
+  gboolean had_valid_signature = FALSE;
 
   verifier = _ostree_gpg_verifier_new (cancellable, error);
   if (!verifier)
@@ -3255,11 +3255,11 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo          *self,
   if (!_ostree_gpg_verifier_check_signature (verifier,
                                              path,
                                              signatures,
-                                             &had_valid_signataure,
+                                             &had_valid_signature,
                                              cancellable, error))
     goto out;
 
-  if (!had_valid_signataure)
+  if (!had_valid_signature)
     {
       g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
                    "GPG signatures found, but none are in trusted keyring");